-
Home
-
Quantity Discounts, Breaks & Product Bundles for Woocommerce By Bundler
-
3.3.3 (latest)
-
Code
-
Classes
- OfferController
| Total Complexity |
67 |
| Dependencies |
5 |
| Dependents |
5 |
| Total lines |
538 |
| Lines of code |
338 |
| Logical lines of code |
153 |
| Comment lines |
105 |
| Methods |
17 |
| Properties |
1 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| new_offer() |
B |
35 |
17 |
83 |
| update_offer() |
B |
36 |
16 |
79 |
| get_offer() |
S |
45 |
5 |
43 |
| delete_offers() |
S |
62 |
4 |
12 |
| get_custom_variant_discount() |
S |
65 |
4 |
9 |
| get_offer_products() |
S |
63 |
3 |
11 |
| get_the_offer() |
S |
57 |
2 |
18 |
| get_the_offer_by_id() |
S |
57 |
2 |
18 |
| get_the_bundle() |
S |
57 |
2 |
18 |
| delete_offer() |
S |
61 |
2 |
13 |
| __construct() |
S |
71 |
2 |
6 |
| get_the_discounts() |
S |
67 |
2 |
8 |
| get_the_discounts_desc() |
S |
67 |
2 |
8 |
| get_all_offers() |
S |
81 |
1 |
3 |
| get_bundle_offers() |
S |
81 |
1 |
3 |
| get_discounts_by_offer_id() |
S |
80 |
1 |
3 |
| update_offer_status() |
S |
80 |
1 |
3 |